package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.SystemDictionaryItem;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {

    void deleteById(Long id);

    void save(SystemDictionaryItem record);

    SystemDictionaryItem selectById(Long id);

    PageInfo<SystemDictionaryItem> query(QueryObject qo);

    List<SystemDictionaryItem> ListAll();

    void updateById(SystemDictionaryItem record);

    List<SystemDictionaryItem> selectByTypeId(Long id);

    List<SystemDictionaryItem> selectCategoryBySn(String sn);

    List<SystemDictionaryItem> selectItemByParentId(Long parentId);
}
